import accessMenu from './accessMenu'

const install = function(Vue) {
  Vue.directive('accessMenu', accessMenu)
}

if (window.Vue) {
  // // 
  window['accessMenu'] = accessMenu
  Vue.use(install); // eslint-disable-line
}

accessMenu.install = install
export default accessMenu
